package net.zjitc.dao;

import net.zjitc.pojp.Evaluate;
import net.zjitc.pojp.Product;
import net.zjitc.utils.PageBean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/22.
 */
public interface AdminProductDao {
    PageBean<Product> findPageBean(int page, int pageSize);

    int insert(Product product);

    PageBean<Product> findPageBeanByCid(int page, int pageSize, int cid);

    PageBean<Product> findPageBeanByCsid(int page, int pageSize, int csid);

    Product findByPid(int pid);

    List<Evaluate> findEvaluateByPid(int pid);
}
